package net.neptech;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients
@EntityScan({
        "net.neptech.model.sys",  // 只扫描 auth 模块的实体
        // 其他你希望扫描的包
})
@EnableDiscoveryClient
public class AuthApplication
{
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class, args);
    }
}
